package crawler.server.dispatch.entity.core;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class TaskQueueEntity  implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String ID;              //记录ID
	private Date createTime;        //记录的创建时间
	private Date updateTime;        //记录的更新时间
	private String taskId;          //任务的ID，即Task表的taskId
	private Boolean taskStatus;     //任务状态
	private String urlId;           //当前URL的ID
	private Integer urlStatus;      //url的状态。
	private String url;             //下发抓取的URL
	private Integer priority;       //优先级
	private Boolean runNow;         //立即执行
	private List<String> clientId;        //client首次启动时生成的id
	
	
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public Boolean getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(Boolean taskStatus) {
		this.taskStatus = taskStatus;
	}
	public String getUrlId() {
		return urlId;
	}
	public void setUrlId(String urlId) {
		this.urlId = urlId;
	}
	public Integer getUrlStatus() {
		return urlStatus;
	}
	public void setUrlStatus(Integer urlStatus) {
		this.urlStatus = urlStatus;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Boolean getRunNow() {
		return runNow;
	}
	public void setRunNow(Boolean runNow) {
		this.runNow = runNow;
	}
	public List<String> getClientId() {
		return clientId;
	}
	public void setClientId(List<String> clientId) {
		this.clientId = clientId;
	}
	
}
